package com.wosai.register.service;

import java.util.Map;

public interface QueryService {
    Map<String, Object> findAggregatedSellAndReturn(String merchantId, String branchId, String terminalId, String startDate, String endDate);
    Map<String, Object> findPaymentByType(String merchantId, String branchId, String terminalId, String startDate, String endDate);
    
    Map<String, Object> findOrders(String merchantId, String branchId, String terminalId, int offset, int size, String startDate, String endDate);
    
    Map<String, Object> findReturnedOrders(String merchantId, String branchId, String terminalId, int offset, int size, String startDate, String endDate);

    Map<String, Object> findOrderItems(String merchantId, String branchId, String terminalId, String orderId);
    
    Map<String, Object> findTop10ByVolume(String merchantId, String startDate, String endDate);
    
    Map<String, Object> findTop10ByRevenue(String merchantId, String startDate, String endDate);
    
    Map<String, Object> topCategoriesByRevenuePerBranch(String merchantId, String branchId, String startDate, String endDate);
    
    Map<String, Object> topProductsByRevenuePerBranch(String merchantId, String branchId, String startDate, String endDate);

    Map<String, Object> findShifts(String merchantId, String branchId, String startDate, String endDate);

    Map<String, Object> findBranchExpends(String merchantId, String branchId, String terminalId, String startDate, String endDate);
}
